package com.bobo.dao.photo;

import com.bobo.dao.IBaseDao;
import com.bobo.model.Photo;

import java.util.List;

/**
 * Created by bobo on 2016/10/17.
 */
public interface IPhotoDao extends IBaseDao<Photo> {

    public Integer create(Photo photo);

    public boolean update(Photo photo);

    public Photo getById(Integer id);

    public List<Photo> getPhotos(Integer current, Integer pageSize, Object... obj);

    public List<Photo> clearPhoto();

    public Integer getCount(Object... obj);




}
